﻿using EraNet.Core.Model.Account;
using System.Data.Entity.ModelConfiguration;

namespace EraNet.Data.Mapping.Account
{
    public partial class AdminGroupMap : EntityTypeConfiguration<AdminGroup>
    {
        public AdminGroupMap()
        {
            this.ToTable("Era_AdminGroup");
            this.HasKey(a => a.Id);
            this.Property(a => a.GroupName).IsRequired();
        }
    }
}
